package com.chenye.logback;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @Auther:chenye
 * @Data:2018/11/1
 * @Description:
 */
public class LogTest {
    private static final Logger infoLog = LoggerFactory.getLogger("infoLog");
    private static final Logger errorLog = LoggerFactory.getLogger("errorLog");
    private static final Logger sysLog = LoggerFactory.getLogger(LogTest.class);
    public static void main(String[] args) {
        infoLog.info("info info");
        errorLog.error("error error");
        sysLog.info("sys info");
        sysLog.error("sys error");
        sysLog.trace("sys trace");
    }
}
